﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="webnew.login"  %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <script type="text/javascript">
   
        if (window.top.location.href.toLowerCase().indexOf('login.aspx') < 0) window.top.location.href = 'login.aspx';
	    function openwin()
	    {
	        var objNewWin;
		    var screenwidth = screen.width - 10;
		    var delHeight =56;
		    if (navigator.userAgent.toLowerCase().indexOf("windows nt 6.") > -1) {
		        delHeight = 76;
		    }
		    var screenheight=screen.height-delHeight;
		    objNewWin = window.open("about:blank", "", "height=" + screenheight + ", width=" + screenwidth + ",top=0,left=0,toolbar=no,scrollbars=no,menubar=no,statusbar=yes");
		    objNewWin.moveTo(0, 0);
		    
		    objNewWin.location = "Default.aspx";
		    window.opener = null;
		    window.open('', "_self");
		    window.close();

//window.opener.location.reload();
//		    window.opener = null;
//		    window.open('', "_self");
//		    window.close();

		} 
    </script>
   <link href="App_Themes/Style/LoginStyle.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style1
        {
            width: 35px;
        }
    </style>
</head>
<body>
    <form id="frmlogin" runat="server">
    <table id="body" cellpadding='0' cellspacing='0'>
    <tr>
        <td style="vertical-align:middle; text-align:center;" valign="middle" align="center">
        
     <table id="__01" width="521" height="265" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td colspan="10">
			<img src="App_Themes/images/login/login_01.gif" width="520" height="38" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="1" height="38" alt=""></td>
	</tr>
	<tr>
		<td rowspan="6">
			<img src="App_Themes/images/login/login_02.gif" width="24" height="130" alt=""></td>
		<td colspan="2" rowspan="6">
			<img src="App_Themes/images/login/login_03.gif" width="90" height="130" alt=""></td>
		<td colspan="2" rowspan="3">
			<img src="App_Themes/images/login/login_04.gif" width="62" height="51" alt=""></td>
		<td colspan="5">
			<img src="App_Themes/images/login/login_05.gif" width="344" height="26" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="1" height="26" alt=""></td>
	</tr>
	<tr>
		<td>
		<asp:TextBox ID="txtUid" runat="server"  Width="160" Height ="20" MaxLength="25" 
                TabIndex="1" ToolTip="请输入用户名"></asp:TextBox>
			<%--<img src="App_Themes/images/login/login_06.gif" width="160" height="22" alt="">--%></td>
		<td rowspan="4">
			<img src="App_Themes/images/login/login_10.gif" width="19" height="51" alt=""></td>
		<td colspan="2" rowspan="4">
		<asp:ImageButton ID="btnLogin" runat="server" CssClass="btn"
                        ImageUrl="App_Themes/images/login/login_13.gif" 
                onclick="btnLogin_Click" width="54" height="51" ImageAlign="Middle" 
                TabIndex="5" ToolTip="登录"/>
			<%--<img src="App_Themes/images/login/login_13.gif" width="54" height="51" alt="">--%></td>
		<td rowspan="4">
			<img src="App_Themes/images/login/login_09.gif" width="111" height="51" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="1" height="22" alt=""></td>
	</tr>
	<tr>
		<td rowspan="2">
			<img src="App_Themes/images/login/login_10-11.gif" width="160" height="7" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="1" height="3" alt=""></td>
	</tr>
	<tr>
		<td colspan="2" rowspan="2">
			<img src="App_Themes/images/login/login_11.gif" width="62" height="26" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="1" height="4" alt=""></td>
	</tr>
	<tr>
		<td>
		<asp:TextBox ID="txtPwd" runat="server" width="160" Height ="20"
                        TextMode="Password" MaxLength="50" TabIndex="2" ToolTip="请输入密码"></asp:TextBox>
			<%--<img src="App_Themes/images/login/login_12.gif" width="160" height="22" alt="">--%></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="1" height="22" alt=""></td>
	</tr>
	<tr>
		<td colspan="7">
			<img src="App_Themes/images/login/login_13-14.gif" width="406" height="53" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="1" height="53" alt=""></td>
	</tr>
	<tr>
		<td colspan="2" rowspan="4">
			<img src="App_Themes/images/login/login_14.gif" width="62" height="96" alt=""></td>
		<td colspan="2" rowspan="4">
			<img src="App_Themes/images/login/login_21.gif" width="68" height="96" alt=""></td>
		<td colspan="6">
			<img src="App_Themes/images/login/login_16.gif" width="390" height="29" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="1" height="29" alt=""></td>
	</tr>
	<tr>
		<td class="CompBox" colspan="6">
		
			<div id="divFont" class="divFont"><%=webnew.Common.CommonHelper.GetSystemName()%></div> </td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="1" height="22" alt=""></td>
	</tr>
	<tr>
		<td class="CopyrighyBox" colspan="4">
		
			<div id="divCopyrightFont" class="divCopyrightFont">Copyright 2011 版权所有</div></td>
		<td colspan="2">
			<img src="App_Themes/images/login/login_19.gif" width="135" height="22" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="1" height="22" alt=""></td>
	</tr>
	<tr>
		<td colspan="6">
			<img src="App_Themes/images/login/login_20.gif" width="390" height="23" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="1" height="23" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="24" height="1" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="38" height="1" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="52" height="1" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="16" height="1" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="46" height="1" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="160" height="1" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="19" height="1" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="30" height="1" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="24" height="1" alt=""></td>
		<td>
			<img src="App_Themes/images/login/分隔符.gif" width="111" height="1" alt=""></td>
		<td></td>
	</tr>
</table>
        
        
        </td>
    </tr>
    </table>
    </form>
    <script type="text/javascript">
        if (frmlogin.txtUid.value == '') frmlogin.txtUid.focus();
        else frmlogin.txtPwd.focus();
    </script>
</body>
</html>
